﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.Prm.Admin
{
    public class MailRecord : FullAuditedEntity<int>
    {
        /// <summary>
        /// 邮件的主题行
        /// </summary>
        public virtual string Subject { get; set; }
        /// <summary>
        /// 邮件正文
        /// </summary>
        public string Body { get; set; }
        public System.Net.Mail.MailPriority Priority { get; set; }
        public string Receivers { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Notes { get; set; }
        public string Attachment { get; set; }
        /// <summary>
        /// 是否发送成功
        /// </summary>
        public bool IsSuccess { get; set; }

        /// <summary>
        /// 是否发送
        /// </summary>
        public bool IsSend { get; set; }

        public string ErrorMsg { get; set; }
    }
}
